package com.caojing.hlm.home;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import android.widget.TextView;

import com.caojing.hlm.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SearchActivity extends AppCompatActivity {

    @Bind(R.id.search_activity_iv_back)
    ImageView searchActivityIvBack;
    @Bind(R.id.search_activity_iv_voice)
    ImageView searchActivityIvVoice;
    @Bind(R.id.search_activity_tv_search)
    TextView searchActivityTvSearch;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_search);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.search_activity_iv_back, R.id.search_activity_iv_voice, R.id.search_activity_tv_search})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.search_activity_iv_back:
                finish();
                break;
            case R.id.search_activity_iv_voice:
                break;
            case R.id.search_activity_tv_search:
                break;
        }
    }
}
